<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<html><head> <title>添加书籍</title>
</head>
<body>
<h3>请输入要添加的图书信息：</h3>
<% if(request.getAttribute("result")!=null)
 out.print(request.getAttribute("result"));
%>
<form action = "InsertBookServlet" method = "post" accept-charset="utf8">
<table>
 <tr><td>书号</td> <td><input type="text" name="bookid" ></td></tr>
 <tr><td>书名</td><td><input type="text" name="title"></td></tr> 
 <tr><td>作者</td><td><input type="text" name="author" ></td></tr>
 <tr><td>出版社</td><td><input type="text" name="publisher" ></td></tr>
 <tr><td>单价</td><td><input type="text" name="price" ></td></tr>
 <tr><td><input type="submit" value="确定" ></td>
 <td><input type="reset" value="重置" ></td>
 </tr>
</table>
</form>
</body></html>